package com.test.nnooolwdeaer.bean_wooden.config_info_wooden;

import com.test.nnooolwdeaer.constant_wooden.Constant_wooden;
import com.test.nnooolwdeaer.util_wooden.StringUtil_wooden;
import com.google.gson.Gson;

import org.json.JSONObject;

public class AppVersionInfo_wooden {

    private static class Inner_wooden {
        private static AppVersionInfo_wooden instance = new AppVersionInfo_wooden();
    }

    private AppVersionInfo_wooden(){}

    public static AppVersionInfo_wooden getInstance() {
        return Inner_wooden.instance;
    }

    public static AppVersionInfo_wooden parse(JSONObject objJson) {
        Inner_wooden.instance = new Gson().fromJson(objJson.toString(), AppVersionInfo_wooden.class);
        return Inner_wooden.instance;
    }

    private String searchValue;
    private String createBy;
    private String createTime;
    private String updateBy;
    private String updateTime;
    private String remark;
    private String id;
    private String clientType;
    private String name;
    private String product;
    private String version;
    private String gpVersion;
    private String isFocus;
    private String linkUrl;
    private String isBan;
    private String banVersion;
    private String banUrl;

    public String getVersion_wooden() {
        return StringUtil_wooden.getSafeString_wooden(version);
    }

    public String getLinkUrl_wooden() {
        return StringUtil_wooden.getSafeString_wooden(linkUrl);
    }
}
